UN 'gravely concerned by widening hostilities' in the Middle East